# !/usr/bin/python
# -*- coding: UTF-8 -*-

"""
回答结果（结构体变量传递）
"""
if __name__ == '__main__':
    class Student:
        x = 0
        c = 0


    def f(stu):
        stu.x = 20
        stu.c = 'c'


    a = Student()
    a.x = 3
    a.c = 'a'
    print(a.x, a.c)
    f(a)
    print(a.x, a.c)
